package com.feri.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 17.角色表(SysRole)表实体类
 *
 * @author makejava
 * @since 2023-03-26 10:40:28
 */
@Data
@TableName("sys_role")
@NoArgsConstructor
public class SysRole {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //角色名
    private String roleName;

    public SysRole(String roleName) {
        this.roleName = roleName;
    }
}
